#define _CRT_SECURE_NO_WARNINGS 1

#include "Contact.h"

int main()
{
	Queue plist;
	QueueInit(&plist);
	QueuePush(&plist, 1);
	QueuePush(&plist, 2);
	QueuePush(&plist, 3);
	QueuePrint(&plist);

	printf("%d\n%d\n%d\n", QueueSize(&plist), QueueFront(&plist), QueueBack(&plist));

	while (!QueueEmpty(&plist))
	{
		printf("%d ", QueueFront(&plist));
		QueuePop(&plist);
	}
	printf("\n");
	QueueDestory(&plist);



	return 0;
}